<?php 
class bannersObj 
{
	var $id;
	var $name;
	var $description;
	var $image;
	var $popImage;
	var $popWidth;
	var $popHeight;
	var $linkUrl;
	var $urlForView;
	var $urlForClick;
	var $webpageID;
	var $delayPeriod;
	var $startDate;
	var $endDate;
	var $price;
	var $deleteFlag;
	var $otherFields;

	public function TableName() { return "banners";}
	public function idFieldName() { return "id";}
	public function nameFieldName() { return "name";}
	public function descriptionFieldName() { return "description";}
	public function imageFieldName() { return "image";}
	public function popImageFieldName() { return "popImage";}
	public function popWidthFieldName() { return "popWidth";}
	public function popHeightFieldName() { return "popHeight";}
	public function linkUrlFieldName() { return "linkUrl";}
	public function urlForViewFieldName() { return "urlForView";}
	public function urlForClickFieldName() { return "urlForClick";}
	public function webpageIDFieldName() { return "webpageID";}
	public function delayPeriodFieldName() { return "delayPeriod";}
	public function startDateFieldName() { return "startDate";}
	public function endDateFieldName() { return "endDate";}
	public function priceFieldName() { return "price";}
	public function deleteFlagFieldName() { return "deleteFlag";}

	function bannersObj ($pid="",$pname="",$pdescription="",$pimage="",$ppopImage="",$ppopWidth="",$ppopHeight="",$plinkUrl="",$purlForView="",$purlForClick="",$pwebpageID="",$pdelayPeriod="",$pstartDate="",$pendDate="",$pprice="",$pdeleteFlag="") {

		$this->id = $pid;
		$this->name = $pname;
		$this->description = $pdescription;
		$this->image = $pimage;
		$this->popImage = $ppopImage;
		$this->popWidth = $ppopWidth;
		$this->popHeight = $ppopHeight;
		$this->linkUrl = $plinkUrl;
		$this->urlForView = $purlForView;
		$this->urlForClick = $purlForClick;
		$this->webpageID = $pwebpageID;
		$this->delayPeriod = $pdelayPeriod;
		$this->startDate = $pstartDate;
		$this->endDate = $pendDate;
		$this->price = $pprice;
		$this->deleteFlag = $pdeleteFlag;
	}

} 
?>